package com.banach.prema.dto.cmd;


import com.banach.prema.enums.SosType;
import com.ego.framework.annotation.ReqParam;

/**
 * 紧急情况
 * @author ajun
 *
 */
public class SosCmd {
	@ReqParam(label = "求救类型",required = true,enumClass = SosType.class)
	private String type;
	@ReqParam(label = "纬度",required = true)
	private Double lat;//求救纬度
	@ReqParam(label = "经度",required = true)
	private Double lng;//求救经度
	@ReqParam(label = "求救内容")
	private String content;

	public String getType() {
		return type;
	}

	public SosCmd setType(String type) {
		this.type = type;
		return this;
	}

	public Double getLat() {
		return lat;
	}

	public SosCmd setLat(Double lat) {
		this.lat = lat;
		return this;
	}

	public Double getLng() {
		return lng;
	}

	public SosCmd setLng(Double lng) {
		this.lng = lng;
		return this;
	}

	public String getContent() {
		return content;
	}

	public SosCmd setContent(String content) {
		this.content = content;
		return this;
	}
}
